package sample0002;

/*
 * public String replaceAll(String regex, String replacement) 
 */


public class EgReplaceAll {
	public static void main(String[] args){
		String classFile = "com.jd.".replaceAll(".", "/") + "MyClass.class"; //该方式使用的是正则表达式来匹配
		System.out.print(classFile);
	}
}
